package com.soft.base.contract;

/**
 * class
 *
 * @author user
 * @date 2020/06/05
 */
public interface LazyValueFacade {

    interface Callback {
        /**
         * callback
         * @return
         */
        Object callback();
    }

    /**
     * hash
     * @param key
     * @param callback
     * @return
     */
    String hash(String key, Callback callback);

    /**
     * notifyChange
     * @param key
     */
    void notifyChange(String key);
}
